package com.example.photongrid;


import java.io.Serializable;
import java.util.ArrayList;

public class MessageServerToClient implements Serializable {
	
	Board board;
	ArrayList<VehicleList> vehicles;
	ArrayList<WallList> walls;
	int player;
	
	public MessageServerToClient(int n){
		player = n;
		board = null;
		vehicles = null;
		walls = null;
	}
	public MessageServerToClient(Board b, ArrayList<VehicleList> vList, ArrayList<WallList> wList) 
	{
		board = b;
		vehicles = vList;
		walls = wList;
		
	}

	public Board getBoard()
	{
	return board;
	}
	
	public ArrayList<VehicleList> getVehicles()
	{
		return vehicles;
	}
	
	public ArrayList<WallList> getWalls()
	{
		return walls;
	}
}
